//
//  CLInfoSelectVC.h
//  togetherLBS
//
//  Created by Phyllis Hu on 15-5-25.
//  Copyright (c) 2015年 celi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^CLInfoSelectBlock)(NSArray *);

@class CLMemberInfo;
@interface CLInfoSelectVC : UITableViewController
@property (nonatomic, strong) CLMemberInfo *member; 
@property (nonatomic, copy) CLInfoSelectBlock block;
@property (nonatomic, assign) NSInteger index; // 记录当前选择到哪一级别

- (instancetype)initWithData:(NSArray *)data selectionData:(NSMutableArray *)selectionData;
@end

@interface CLInfo : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, strong) NSArray *sub;
@property (nonatomic, assign) NSInteger type;

+ (instancetype)infoWithDict:(NSDictionary *)dict;
- (instancetype)initWithDict:(NSDictionary *)dict;
@end
